home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / PROLOG / HUMBOLT / HUMBOLTS / _files / _humboltsr / SYSTEMS._h < prev    next >
Text File  |  1990-12-08  |  5KB  |  267 lines

  1. /***************************************************
  2. ****************************************************
  3. **                                                **
  4. **  HU-Prolog     Portable Interpreter System     **
  5. **                                                **
  6. **  Release 1.62   January  1990                  **
  7. **                                                **
  8. **  Authors:      C.Horn, M.Dziadzka, M.Horn      **
  9. **                                                **
  10. **  (C) 1989      Humboldt-University             **
  11. **                Department of Mathematics       **
  12. **                GDR 1086 Berlin, P.O.Box 1297   **
  13. **                                                **
  14. ****************************************************
  15. ***************************************************/
  16.  
  17. /* 
  18. ** The generation of HU-Prolog is parametrized by
  19. **
  20. ** wordsize:                    BIT8  BIT16  BIT32
  21. ** operating system:            UNIX  MS_DOS  VMS  CPM RISCOS
  22. ** addressmode                  BYTE/WORD/POINTER OFFSET
  23. ** arithmetic:                  LONGARITH  REALARITH SYMBOLARITH
  24. ** unification mode:            OCCUR_CHECK (switchable or not)
  25. ** generation of inlinecode:    INLINE
  26. ** 
  27. ** extensions:                  WINDOWS   Window-Interface 
  28. **                              DBASE3    dBASE-III-Interface
  29. **                              HELP      online-help
  30. **                              USER      C-Interface
  31. **
  32. */
  33.  
  34. #ifdef  ARCHY
  35. #       define BIT32 1
  36. #       define RISCOS  1
  37. #       define DEBUG 1
  38. #       define OCCUR_CHECK 1
  39. #       define INLINE 1
  40. #       define POINTEROFFSET 1
  41. #       define REALARITH 0
  42. #       define HACKY 0
  43. #       define ASSIGN 0
  44. #       define USER 1
  45. #       define WINDOWS 0
  46. #       define MEMORYSIZE 2000
  47. #       define MAXDEPTH 500
  48. #       define INITFILE 1
  49. #       define PROLOGRC "prologrc"
  50. #       define OYSTERRC "oysterrc"
  51. #       define RESFILE "<HUPro$Dir>.huplstate"
  52. #endif
  53. #ifdef  SUN3 
  54. #       define BIT32 1
  55. #       define UNIX  1
  56. #       define DEBUG 1
  57. #       define OCCUR_CHECK 0
  58. #       define SYMBOLARITH 1
  59. #       define INLINE 1
  60. #       define POINTEROFFSET 1
  61. #       define HACKY 1
  62. #       define USER 1
  63. #       define WINDOWS 0
  64. #       define MEMORYSIZE 10000 
  65. #       define MAXDEPTH 1000
  66. #endif
  67.  
  68. #ifdef  P8000
  69. #       define BIT16 1
  70. #       define UNIX  1
  71. #       define DEBUG 1
  72. #       define REALARITH 1
  73. #       define LONGARITH 1
  74. #       define SYMBOLARITH 1
  75. #       define INLINE 1
  76. #       define BYTEOFFSET 1
  77. #       define HACKY 1
  78. #       define USER 1
  79. #       define HELP 1
  80. #       define WINDOWS 0
  81. #       define DBASE3 0
  82. #       define SMALLVERSION 1
  83. #       define MEMORYSIZE 64
  84. #       define MAXDEPTH 175
  85. #endif
  86.  
  87. #ifdef XENIX286
  88. #       define BIT16 1
  89. #       define UNIX  1
  90. #       define LONGARITH 1
  91. #       define REALARITH 0
  92. #       define WINDOWS 1
  93. #       define DBASE3 0
  94. #       define HELP 1
  95. #       define INLINE 1
  96. #       define SYMBOLARITH 1
  97. #       define BYTEOFFSET 1
  98. #       define USER 1
  99. #       define DEBUG 0
  100. #       define MAXDEPTH 300
  101. #endif
  102.  
  103. #ifdef XENIX386
  104. #       define BIT16 1
  105. #       define UNIX  1
  106. #       define LONGARITH 1
  107. #       define REALARITH 1
  108. #       define WINDOWS 1
  109. #       define DBASE3 1
  110. #       define HELP 1
  111. #       define INLINE 1
  112. #       define SYMBOLARITH 1
  113. #       define BYTEOFFSET 1
  114. #       define USER 1
  115. #       define DEBUG 1
  116. #       define MAXDEPTH 300
  117. #endif
  118.  
  119. #ifdef MS_DOS
  120. #       define BIT16 1
  121. #       define BYTEOFFSET 1
  122. #       define DEBUG 0
  123. #       define REALARITH 1
  124. #       define LONGARITH 1
  125. #       define SYMBOLARITH 1
  126. #       define USER 1
  127. #       define DBASE3 1
  128. #       define INLINE 1
  129. #       define MSC 1
  130. #       define MAXDEPTH 300
  131. #endif
  132.  
  133. #ifdef BIC
  134. #       define BIT8 1
  135. #       define CPM 1
  136. #       define OCCUR_CHECK 0
  137. #       define INLINE 0
  138. #       define DEBUG 0
  139. #       define HELP 1
  140. #       define void int 
  141. #       define MEMORYSIZE 120 /* KByte */
  142. #       define MAXDEPTH 50
  143. #endif
  144.  
  145. #ifndef BIC
  146. #define BIC 0
  147. #endif
  148. #ifndef SUN3
  149. #define SUN3 0
  150. #endif
  151. #ifndef XENIX286
  152. #define XENIX286 0
  153. #endif
  154. #ifndef REALARITH
  155. #       define REALARITH 0
  156. #endif
  157.  
  158. #ifndef LONGARITH
  159. #       define LONGARITH 0
  160. #endif
  161.  
  162. #ifndef SYMBOLARITH
  163. #       define SYMBOLARITH 0
  164. #endif
  165.  
  166. #ifndef INITFILE
  167. #       define INITFILE 0
  168. #endif
  169.  
  170. #ifndef ASSIGN
  171. #       define ASSIGN 1
  172. #endif
  173.  
  174. #ifndef P8000
  175. #define P8000 0
  176. #endif
  177.  
  178. #ifndef DEBUG
  179. #define DEBUG 0
  180. #endif
  181.  
  182. /* Operating Systems */
  183.  
  184. #ifndef VMS
  185. #define VMS 0
  186. #endif
  187.  
  188. #ifndef UNIX
  189. #define UNIX 0
  190. #endif
  191.  
  192. #ifndef MS_DOS
  193. #define MS_DOS 0
  194. #endif
  195.  
  196. #ifndef CPM
  197. #define CPM 0
  198. #endif
  199.  
  200. #ifndef HACKY
  201. #define HACKY 0
  202. #endif
  203.  
  204. #ifndef MSC
  205. #define MSC 0
  206. #endif
  207.  
  208. /* System Options */
  209.  
  210. #ifndef WINDOWS
  211. #define WINDOWS 0
  212. #endif
  213.  
  214. #ifndef DBASE3 
  215. #define DBASE3 0
  216. #endif
  217.  
  218. #ifndef HELP 
  219. #define HELP 0
  220. #endif
  221.  
  222. /* Word Size */
  223.  
  224. #ifndef BIT8
  225. #define BIT8 0
  226. #endif
  227.  
  228. #ifndef BIT16
  229. #define BIT16 0
  230. #endif
  231.  
  232. #ifndef BIT32
  233. #define BIT32 0
  234. #endif
  235.  
  236. /* Unification Mode */
  237.  
  238. #ifndef OCCUR_CHECK
  239. #define OCCUR_CHECK 1
  240. #endif
  241.  
  242. #ifndef BYTEOFFSET
  243. #define BYTEOFFSET 0
  244. #endif
  245.  
  246. #ifndef WORDOFFSET
  247. #define WORDOFFSET 0
  248. #endif
  249.  
  250. #ifndef POINTEROFFSET
  251. #define POINTEROFFSET 0
  252. #endif
  253.  
  254. #ifndef INLINE
  255. #define INLINE 1
  256. #endif
  257.  
  258. #ifndef MAXDEPTH 
  259. #define MAXDEPTH 200
  260. #endif
  261.  
  262. #ifndef SMALLVERSION
  263. #define SMALLVERSION 0
  264. #endif
  265.  
  266.  
  267.